package com.cmcc.waf.report.service;

import com.cmcc.waf.report.feign.OpenAPIFeign;
import com.cmcc.waf.report.feign.model.AttackRegionTopVO;
import com.cmcc.waf.report.feign.model.ResponseVO;
import com.cmcc.waf.report.feign.model.SrcIpTopVO;
import com.cmcc.waf.report.feign.model.WebSafeRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 攻击来源地区TOP5
 */
@Service
public class AttackRegionService {
    @Autowired
    private OpenAPIFeign feign;

    public ResponseVO<List<AttackRegionTopVO>> attackRegionTop5(WebSafeRequest request) {
        return feign.attackRegionTop5(request);
    }
}
